/*
 *  infraredSensor.h
 *  project8
 *
 *  Created by Luca Gobbo on 21-06-10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef _INFRAREDSENSOR_H
#define _INFRAREDSENSOR_H
#define BOARD_PIN_SPEAKER  8
#include "IRSListener.h"


class IRSListener;          // forward decleration

class InfraredSensor  {
public:
    InfraredSensor();
    int heartBeat();
    IRSListener *  getListener();
    void setListener(IRSListener *  l);
   
    
private:
   IRSListener * listener;
   int state;
};


#endif